$import('MapUtil');

function CString(){
    this.__string__ = [];
}
CString.prototype.append = function(){
    var str = this.__string__,
        strs = MapUtil.makeArray(arguments);
    MapUtil.each(strs, function(s) {
        str[str.length] = s;
    });
    return this;
}
CString.prototype.toString = function(){
    return this.__string__.join("");
}
